package io.itit.ecp.admin.provide.action.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：计量设备运行参数保存
 * @Date：Create by 2023-11-30 18:51:39
 */
@Data
@ToString
@ApiModel("计量设备运行参数保存")
public class MeterDeviceRunningParamReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("设备id")
    private String deviceId;

    /**
     * 运行参数
     */
    @ApiModelProperty("运行参数")
    private List<RunningParam> runningParams;

    @Data
    public static class RunningParam implements Serializable {

        /**
         * 物模型id
         */
        private String physicalModelId;

        /**
         * 设备运行值
         */
        private String runningValue;
    }

}
